@font-face {
    font-family: IRANSans;
    src: url("../fonts/iransans/IRANSansWeb_Light.woff") format("woff");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: IRANSans;
    src: url("../fonts/iransans/IRANSansWeb.woff") format("woff");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: IRANSans;
    src: url("../fonts/iransans/IRANSansWeb_Medium.woff") format("woff");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: Gohar;
    src: url("../fonts/gohar/Gohar-Black.woff") format("woff");
    font-weight: 900;
}

@font-face {
    font-family: Gohar;
    src: url("../fonts/gohar/Gohar-Bold.woff") format("woff");
    font-weight: 700;
}

@font-face {
    font-family: Gohar;
    src: url("../fonts/gohar/Gohar-Light.woff") format("woff");
    font-weight: 300;
}

@font-face {
    font-family: Gohar;
    src: url("../fonts/gohar/Gohar-Medium.woff") format("woff");
    font-weight: 500;
}

@font-face {
    font-family: Gohar;
    src: url("../fonts/gohar/Gohar-Thin.woff") format("woff");
    font-weight: 100;
}
@font-face {
    font-family: Peyda;
    src: url("../fonts/peyda/PeydaWebFaNum-Medium.woff2") format("woff");
    font-weight: 100;
}

body {
    font-family: IRANSans, Tahoma, sans-serif !important;
}

/* ------------- BASE RESET ------------- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: #000;
    font-family: IRANSans, Tahoma, sans-serif !important;
}

/* ------------- FULLSCREEN HERO SECTION ------------- */
.hero-section,
.hero-swiper,
.swiper-wrapper,
.swiper-slide {
    width: 100vw;
    height: 100vh;
    position: relative;
}

/* ------------- IMAGE / VIDEO BACKGROUND ------------- */
.swiper-slide video,
.swiper-slide img,
.slide-bg-image,
.slide-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    z-index: 1;
}

/* ------------- DARK OVERLAY ------------- */
.swiper-slide::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

/* ------------- SLIDE CONTENT ------------- */
.slide-content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 650px;
    padding: 0 20px;
    color: white;
}

/* ------------- TITLES & TEXT ------------- */
.slide-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.slide-text {
    opacity: .9;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #f5b754;
}

/* ------------- BUTTON ------------- */
.slide-btn {
    background: #f5b754;
    color: white;
    padding: 12px 50px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.slide-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(245,182,84,0.8);
}

/* ------------- HOVER FLAME EFFECT ------------- */
.slide-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,140,0,0.4), transparent 70%);
    opacity: 0;
    transition: 0.3s ease;
}

.slide-btn:hover::before {
    opacity: 1;
    animation: flame 0.6s infinite alternate;
}

@keyframes flame {
    0% { transform: rotate(45deg) scale(1); opacity: .7; }
    50% { transform: rotate(50deg) scale(1.1); opacity: .85; }
    100% { transform: rotate(40deg) scale(.95); opacity: .7; }
}

/* ------------- HIDE NAVIGATION ARROWS ------------- */
.swiper-button-prev,
.swiper-button-next {
    display: none !important;
}

/* ------------- MOBILE RESPONSIVE ------------- */
@media (max-width: 768px) {

    .slide-title {
        font-size: 28px !important;
        line-height: 38px !important;
    }

    .slide-text {
        font-size: 16px !important;
        line-height: 26px !important;
    }

    .slide-btn {
        padding: 10px 28px !important;
        font-size: 16px !important;
    }
}

/* ------------- SMALL MOBILE ------------- */
@media (max-width: 480px) {

    .slide-title {
        font-size: 22px !important;
        line-height: 30px !important;
    }

    .slide-text {
        font-size: 14px !important;
    }

    .slide-btn {
        padding: 8px 20px !important;
        font-size: 14px !important;
    }
}

/* ------------- TABLET / MID DEVICES ------------- */
@media (min-width: 768px) and (max-width: 1200px) {
    .slide-title {
        font-size: 2.5rem;
    }
}

/* ------------- LARGE SCREENS (TV / 4K / 8K) ------------- */
@media (min-width: 1600px) {
    .slide-title {
        font-size: 70px;
    }

    .slide-text {
        font-size: 32px;
    }

    .slide-btn {
        font-size: 24px;
        padding: 16px 40px;
    }
}


.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; /* وسط‌چین متن */
    color: white;
    z-index: 3 !important;
    width: 80%; /* که متن تو دسکتاپ پخش نشه */
}

.slide-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
    font-family: "B Yekan";

}

.slide-text {
    opacity: .9;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #f5b754;
    font-family: Peyda;
    text-align: center;

}

.slide-btn {
    background:  #f5b754; /* رنگ پایه آتش نارنجی */
    color: white;
    padding: 12px 50px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* شعله روی هور */
.slide-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,140,0,0.4) 0%, rgba(255,0,0,0.2) 70%, transparent 80%);
    opacity: 0;
    transform: rotate(45deg);
    transition: all 0.3s ease;
    pointer-events: none;
}

.slide-btn:hover {
    box-shadow: 0 0 25px 5px rgba(255, 69, 0, 0.7), 0 0 35px 10px rgba(255, 140, 0, 0.5);
    transform: scale(1.05);
}

.slide-btn:hover::before {
    opacity: 1;
    animation: flame 0.6s infinite alternate;
}

/* انیمیشن شعله */
@keyframes flame {
    0% { transform: rotate(45deg) scale(1); opacity: 0.7; }
    50% { transform: rotate(50deg) scale(1.1); opacity: 0.85; }
    100% { transform: rotate(40deg) scale(0.95); opacity: 0.7; }
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.4);
}

.swiper-pagination-bullet-active {
    background: #fff;
}

.swiper-slide img {
    filter: brightness(0.80) !important;
}
.swiper-button-prev,
.swiper-button-next {
    display: none !important;
}
.fixed-elements {
    pointer-events: none;
    z-index: 20;
}
.fixed-elements * {
    pointer-events: auto; /* فقط برای خود آیکون‌ها و bottom-menu */
}
.top-icons {
    position: absolute;
    top: 5px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 25;
}
.top-left-icons {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 15px;
    z-index: 25;
}
.bottom-menu,
.top-left-icons,
.hero-text {
    pointer-events: auto; /* فقط اینا کلیک‌پذیر باشن */
}
.hero-text {
    position: absolute;
    top: 35%;
    right: 40px;
    transform: translateY(-50%);
    color: white;
    z-index: 25;
}
.bottom-menu {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    z-index: 30;
}
.bottom-menu,
.top-icons,
.hero-text {
    pointer-events: auto; /* فقط اینا کلیک‌پذیر باشن */
}
.bottom-item {
    text-align: center;
    color: white;
    font-size: 12px;
    cursor: pointer;
    width: 55px;
    transition: 0.2s ease;
}

.bottom-item:hover {
    transform: translateY(-4px);
}

.bottom-item .icon {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: brightness(1.1) drop-shadow(0 3px 5px rgba(0,0,0,0.7));
}

.bottom-item span {
    display: block;
}

/* ریسپانسیو موبایل */
@media (max-width: 600px) {
    .bottom-item {
        width: 45px;
        font-size: 11px;
    }
    .bottom-item .icon {
        width: 22px;
        height: 22px;
    }
}
.modal-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
@media (max-width: 480px) {
    .modal-box{
    position: fixed;
    top: 0;
    left: -1.2pc;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;


    }
}


.modal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.close-modal {
    position: absolute;
    left: 16px;
    top: 14px;
    z-index: 5;
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.06);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .18s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.close-modal:hover{
    background: rgba(245,183,84,0.12);
    color: #f5b754;
    transform: translateY(-2px);
}
.swiper-slide::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45); /* مقدار را می‌تونی کمتر/بیشتر کنی */
    z-index: 2;
}
.modal {
    pointer-events: auto !important;
    z-index: 9999 !important;
}
.modal-backdrop {
    pointer-events: auto !important;
    z-index: 9998 !important;
}


.bottom-item-left:hover {
    transform: translateY(-4px);
}
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.social-item .social-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    padding: 8px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}

/* افکت hover */
.social-item:hover .social-icon {
    background: #f5b754; /* بک‌گراند طلایی-نارنجی */
    transform: scale(1.1);
}

/* هاله دایره‌ای نرم */
.social-item::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(245, 183, 84, 0.4); /* نسخه شفاف طلایی */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 1;
}

.social-item:hover::before {
    width: 50px;
    height: 50px;
}
/* ---------- CONTACT MODAL (glass) ---------- */
.modal-box {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1200;
}

/* inner layout */
.modal-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-card {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.65), 0 0 18px rgba(245,183,84,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    max-height: 86vh;
}

/* aurora light (behind) */
.aurora-layer {
    position: absolute;
    top: -40%;
    left: -30%;
    width: 220%;
    height: 220%;
    background:
        radial-gradient(circle at 20% 25%, rgba(255,223,80,0.22), transparent 22%),
        radial-gradient(circle at 75% 75%, rgba(255,200,0,0.12), transparent 18%);
    filter: blur(60px) saturate(1.1);
    z-index: 0;
    animation: auroraMove 7s infinite ease-in-out;
}
@keyframes auroraMove {
    0% { transform: translate(0,0) rotate(0deg); opacity: .35; }
    50% { transform: translate(18px,-12px) rotate(10deg); opacity: .55; }
    100% { transform: translate(0,8px) rotate(-6deg); opacity: .4; }
}

/* close button (top-left, visible) */
.modal-card .close-modal {
    position: absolute;
    left: 16px;
    top: 14px;
    z-index: 5;
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.06);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .18s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.modal-card .close-modal:hover {
    background: rgba(245,183,84,0.12);
    color: #f5b754;
    transform: translateY(-2px);
}

/* title top-right */
.modal-head {
    position: absolute;
    right: 20px;
    top: 18px;
    z-index: 4;
    text-align: right;
}
.modal-head h3 {
    margin: 0;
    color: #f5b754;
    font-size: 20px;
    letter-spacing: .3px;
}

/* grid */
.modal-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr; /* left form slightly wider */
    gap: 20px;
    z-index: 3;
    position: relative;
}

/* columns */
.modal-col {
    padding: 8px;
}

/* left form */
.modal-left h4 {
    margin: 6px 0 12px;
    color: #fff;
    font-size: 18px;
    text-align: center;
}
.field-label { color: #cfcfcf; font-size: 13px; display:block; margin:10px 0 6px; text-align:right; }
.field-input, .field-textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    border-radius: 10px;
    outline: none;
    box-sizing: border-box;
}
.field-input::placeholder, .field-textarea::placeholder { color: #9b9b9b; }
.field-textarea { height: 120px; resize: vertical; margin-bottom: 8px; }

/* send button */
.btn-send {
    margin-top: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(180deg,#f5b754,#e6ac3a);
    color: #0d0d0d;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(229,162,57,0.12);
}

/* right side map */
.map-wrap {
    margin-top: 5%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: inset 0 -40px 80px rgba(0,0,0,0.35);
}
.map-wrap iframe {
    width: 100%;
    height: 260px;
    display: block;
    border: 0;
}

/* contact info list */
.contact-info { list-style:none; padding: 12px 0 0; margin: 0; }
.contact-info li {
    display:flex;
    gap: 12px;
    align-items:flex-start;
    padding: 10px 6px;
    border-radius: 10px;
    transition: background .18s;
}
.contact-info li:hover { background: rgba(255,255,255,0.02); }
.ci-icon { color: #f5b754; flex-shrink:0; margin-top:3px; }
.ci-title { color:#ddd; font-size:13px; font-weight:600; }
.ci-value { color:#bfbfbf; font-size:13px; line-height:1.45; margin-top:3px; }

/* make sure inner content scrolls if too tall */
.modal-card { overflow-y: auto; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .modal-grid { grid-template-columns: 1fr; }
    .map-wrap iframe { height: 220px; }
}
@media (max-width: 520px) {
    .modal-card { padding: 18px; border-radius: 12px; }
    .map-wrap iframe { height: 180px; }
    .field-textarea { height: 100px; }
    .modal-head h3 { font-size: 18px; }
    .modal-card .close-modal { width:40px; height:40px; font-size:24px; }
}
.font-about {
    background: rgba(255,255,255,0.08); /* مشابه با باکس نظرات */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 15px;
    padding: 20px;
    margin: 0 auto;
    font-family: Peyda;
    width: 100%;
    max-width: 900px; /* محدودیت برای دسکتاپ */
    box-sizing: border-box; /* حتما برای padding */
    color: #fff5ff; /* یا رنگ دلخواه */
}

/* افکت نور شفق قطبی */
.font-about::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -20%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.35), transparent 60%),
    radial-gradient(circle, rgba(255,170,0,0.25), transparent 60%);
    animation: auroraMove 10s infinite linear;
    filter: blur(60px);
    z-index: -1;
}

@keyframes auroraMove {
    0% {
        transform: translateX(-20%) translateY(-10%) rotate(0deg);
    }
    50% {
        transform: translateX(20%) translateY(10%) rotate(120deg);
    }
    100% {
        transform: translateX(-20%) translateY(-10%) rotate(360deg);
    }
}
@media (max-width: 768px) {
    .font-about {
        padding: 15px;
        width: 70%; /* روی گوشی کم‌کم شود تا جا بیفتد */
        font-size: 14px; /* متن کوچک‌تر برای موبایل */
        margin-left: -1pc;
    }
}
.about-text{
margin: 6px 0 12px;
color: #fff;
font-size: 18px;
text-align: center;
}
.link-black{
    text-decoration: none;!important;
}
.modal-content {
    position: relative;
    background: #111;
    padding: 25px;
    border-radius: 15px;
    color: #fff;
    width: 90%;
    max-width: 550px;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 0 25px #f5b75488;
}

/* نور شفق‌مانند */
.modal-content::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, #f5b75455, transparent 65%);
    animation: aurora 6s infinite alternate;
    pointer-events: none;
}

@keyframes aurora {
    0% { transform: translate(-10%, -10%); }
    100% { transform: translate(10%, 10%); }
}

.close-btn {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 26px;
    cursor: pointer;
    color: #f5b754;
    z-index: 10;
}

.modal-title {
    text-align: center;
    margin-bottom: 20px;
}

.review-slider {
    position: relative;
    overflow: hidden;
}

.review-item {
    display: none;
    text-align: center;
}

.review-item.active {
    display: block;
}

.review-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #f5b754;
    margin-bottom: 10px;
}

.review-name {
    margin: 8px 0;
    color: #f5b754;
}

.review-text {
    font-size: 15px;
    opacity: 0.9;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.slider-btn {
    background: #222;
    border: 1px solid #f5b754;
    padding: 8px 14px;
    color: #f5b754;
    font-size: 18px;
    cursor: pointer;
    margin: 0 8px;
    border-radius: 6px;
}
.slider-btn:hover {
    background: #f5b754;
    color: #111;
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .review-avatar {
        width: 70px;
        height: 70px;
    }
    .modal-content {
        padding: 18px;
    }
}
@media (max-width: 480px) {
    .align-about{

        margin-left: -40px;

    }
}
.coconut-card {
    max-width: 550px;
    margin: 30px auto;
    padding: 22px;
    border-radius: 20px;

    /* شیشه‌ای */
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);

    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.coco-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 15px;
}

.coco-title {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 800;
    color: #ffffff;
    font-family: "B Yekan";
}

.coco-desc {
    color: #c9cfd2;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 18px;
}

.coco-price {
    font-size: 26px;
    font-weight: 800;
    color: #222;
    margin-bottom: 14px;
    background: rgba(255,255,255,0.3);
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 14px;
}

.coco-qty {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.qty-btn {
    padding: 8px 14px;
    font-size: 22px;
    border: none;
    background: rgba(0,0,0,0.45); /* مقدار را می‌تونی کمتر/بیشتر کنی */
    color: white;
    border-radius: 10px;
    cursor: pointer;
}

#qty {
    font-size: 20px;
    font-weight: 700;
    color: #eca470;
}

.coco-buy {
    display: inline-block;
    width: 80%;
    padding: 10px;
    background: #6e4228;
    color: white;
    border-radius: 14px;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
}
.coco-buy:hover{
    background: #342721;

}

/* ریسپانسیو */
@media (max-width: 480px) {
    .coconut-card {
        padding: 16px;
    }
    .coco-title {
        font-size: 22px;
    }
    .coco-price {
        font-size: 22px;
    }
    .qty-btn {
        padding: 6px 10px;
        font-size: 20px;

    }
}
.video{
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
margin-right: 900pc; !important;
}
.toman{
    font-family: Peyda;
}
.toman-text{
    font-family: Gohar;
    font-size: 14px;
}
.glass-panel {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 25px;
    color: white;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* شبکه ۴ تایی آیتم‌ها */
.variant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.variant-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.variant-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.variant-item.active {
    background: #ffcc00; /* رنگ طلایی/نارنجی برای انتخاب شده */
    color: #000;
    border-color: #ffcc00;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

/* دکمه خرید شیشه‌ای */
.coco-buy-glass {
    display: block;
    width: 90%;
    margin-left: 0.60pc;
    padding: 15px;
    margin-top: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.coco-buy-glass:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.coco-price-section {
    margin: 15px 0;
    font-size: 1.5rem;
}

.toman-text { font-size: 0.9rem; opacity: 0.8; margin-right: 5px;text-align: left }

#gemini-loading-container {
    position: fixed !important;
    /* استفاده از inset برای اطمینان از پوشش کامل صفحه */
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 999999 !important; /* اولویت بالاتر از همه المان‌ها */
    transition: opacity 0.5s ease, visibility 0.5s !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gemini-loader-visual {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* حلقه بیرونی */
.gemini-circle-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top: 4px solid #38bdf8;
    border-bottom: 4px solid #38bdf8;
    border-radius: 50%;
    animation: gemini-spin-clockwise 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

/* حلقه داخلی */
.gemini-circle-inner {
    position: absolute;
    width: 60%;
    height: 60%;
    border: 4px solid transparent;
    border-left: 4px solid #818cf8;
    border-right: 4px solid #818cf8;
    border-radius: 50%;
    animation: gemini-spin-counter 0.8s linear infinite;
}

/* متن زیر لودینگ */
.gemini-status-text {
    position: absolute;
    top: 120px;
    white-space: nowrap;
    color: #f8fafc;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    direction: rtl;
    animation: gemini-pulse-opacity 1.5s ease-in-out infinite;
}

/* انیمیشن‌ها با نام‌های اختصاصی */
@keyframes gemini-spin-clockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gemini-spin-counter {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes gemini-pulse-opacity {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* کلاس حذف لودینگ */
.gemini-loader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
